<table>
    <thead jwcid="@If" condition="ognl:headerMessage != null" element="thead">
        <tr>
            <th colspan="2">
                <span jwcid="@Insert" value="ognl:headerMessage" raw="true">Header Message</span>
            </th>
        </tr>
    </thead>
    <tbody jwcid="@If" condition="ognl:bean != null" element="tbody">
    	<tr jwcid="@If" condition="ognl:beanFieldNames.size() != 0">
	        <td jwcid="@For" source="ognl:beanFieldNames" value="ognl:beanFieldName" element="tr">
	            <td><span jwcid="@Insert" value="ognl:beanFieldLabel" raw="true">Bean Field Name</span></td>
	            <td>
	            	<span jwcid="@BeanEditorTypeMappings" beanEditor="ognl:instance"></span>
	            </td>
	        </td>
        </tr>
        <tr jwcid="@Else">
        	<td><code title="No bean fields found"><span jwcid="@Insert" value="ognl:bean.toString()"></span></code></td>
        </tr>
        <tr jwcid="$remove$">
            <td>First Name</td>
            <td><input type="text" value="Dmitry"/></td>
        </tr>
        <tr jwcid="$remove$">
            <td>Last Name</td>
            <td><input type="text" value="Gusev"/></td>
        </tr>
        <tr jwcid="$remove$">
            <td>Bidthray</td>
            <td><input type="text" value="05/02/83"/></td>
        </tr>
    </tbody>
    <tfoot jwcid="@Else" element="tbody">
    	<tr><td>null</td></tr>
    </tfoot>
</table>